package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.SpendItem;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface SpendItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SpendItem record);

    SpendItem selectByPrimaryKey(Long id);

    List<SpendItem> selectAll();

    int updateByPrimaryKey(SpendItem record);

    List<SpendItem> query(QueryObject qo);
    Integer count(QueryObject qo);
}